﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Contract.Domain;

namespace CIIS
{
    public partial class SecretPersonVerify : Verify
    {
        t_tq_tqry tqry = null;
        public SecretPersonVerify()
        {
            InitializeComponent();
        }

        public override void BindData(Framework.Domain.Entity entity)
        {
            base.BindData(entity);
            BindEntity = entity;
            tqry = BindEntity as t_tq_tqry;
            if (tqry != null)
            {
                if (true)
                {
                    //todo pxc 市局
                    tqry.SHR_SJ = Shr;
                    tqry.SHDW_SJ = Shdw;
                    tqry.SHSJ_SJ = Shsj;
                    tqry.SHBZ_SJ = Bz;
                    tqry.SHZT = Yj;
                }
                else
                {
                    tqry.SHR_FJ = Shr;
                    tqry.SHDW_FJ = Shdw;
                    tqry.SHSJ_FJ = Shsj;
                    tqry.SHBZ_FJ = Bz;
                    tqry.SHZT = Yj;
                }
            }
        }
    }
}
